<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Labyrinthe:  Fichier source de Tresor.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
    </ul>
  </div>
<h1>Tresor.h</h1><a href="Tresor_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _TRESOR_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _TRESOR_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00012"></a>00012 <span class="keyword">using namespace </span>std;
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="keyword">class </span><a class="code" href="classCase.html" title="Interface d&amp;#39;une case.">Case</a>;
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="classTresor.html">00016</a> <span class="keyword">class </span><a class="code" href="classTresor.html" title="Un tresor defini par son nom et sa position sur le labyrinthe.">Tresor</a> {
<a name="l00021"></a>00021   <span class="keyword">private</span>:
<a name="l00022"></a>00022         <span class="keywordtype">string</span> _nom;
<a name="l00023"></a>00023     <a class="code" href="classCase.html" title="Interface d&amp;#39;une case.">Case</a>* _estSur;
<a name="l00024"></a>00024 
<a name="l00025"></a>00025   <span class="keyword">public</span> :
<a name="l00030"></a>00030         <span class="keywordtype">string</span> <a class="code" href="classTresor.html#99fb4ffe09d91b9cfb763a09c0dab0ee" title="Obtention du nom du tresor.">getNom</a>();
<a name="l00031"></a>00031 
<a name="l00036"></a>00036         <a class="code" href="classCase.html" title="Interface d&amp;#39;une case.">Case</a>* <a class="code" href="classTresor.html#0b6546ab8acc238652389aca805ecedf" title="Obtention d&amp;#39;un pointeur de la case sur laquelle est le tresor.">getCase</a>();
<a name="l00037"></a>00037 
<a name="l00042"></a>00042         <span class="keywordtype">void</span> <a class="code" href="classTresor.html#c29fb7a8e8a542e83f44d42a34495f9b" title="Deplacement du tresor. Utilise apres intialisation du tresor.">setCase</a>(<a class="code" href="classCase.html" title="Interface d&amp;#39;une case.">Case</a>* c);
<a name="l00043"></a>00043 
<a name="l00047"></a>00047         <a class="code" href="classTresor.html#fb5527027c75e11245e8d0aec55eec87" title="Constructeur par defaut.">Tresor</a>();
<a name="l00048"></a>00048 
<a name="l00054"></a>00054         <a class="code" href="classTresor.html#fb5527027c75e11245e8d0aec55eec87" title="Constructeur par defaut.">Tresor</a>(<span class="keywordtype">string</span> n, <a class="code" href="classCase.html" title="Interface d&amp;#39;une case.">Case</a> * c);
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 };
<a name="l00057"></a>00057 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Fri Feb 19 10:49:27 2010 pour Labyrinthe par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>
